home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Directorty Opus 5 - Magellan 2
/
Opus 5 - Magellan 2.iso
/
DOpus_Install
/
Magellan
/
Storage
/
Modules
/
container.dopus5
< prev
next >
Wrap
Text File
|
1996-07-29
|
721b
|
32 lines
/*
$VER: container.dopus5 1.0 (29.07.96)
Example of an 'arexx module'. This program adds an "Open Container" item
to the popup menu for left-out icons. When selected, this item will
open a new lister with the parent directory of the icon loaded, and
will select the file automatically.
This program must go in the DOpus5:Modules directory.
*/
parse arg portname ' ' function ' ' source ' ' dest ' ' file
address value portname
options results
/* Initialise */
if function='init' then do
dopus command "Container" program "container" private ext "'Open Container'" type leftout
exit
end
/* Container function */
if function='Container' then do
command scandir file new container
exit
end